 {% if product.available == true %}
<div style="width:33%;" class="centerBoxContentsFeatured centeredContent back {% cycle 'sideclass': '','first', 'second' %}">
  <div class="product-col">
	<div class="img">
      <table>
        <tbody>
          <tr>
            <td>
      			<a href="{{product.url}}">
                  <div>
        			<img title="{{product.title}}" alt="{{product.title}}" src="{{ product.first_image.medium_url}}">
        			</div>
      			</a>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
	<div class="prod-info">
      <a href="{{product.url}}" class="name">{{product.title | truncate: 50}}</a>
		<div class="wrapper">
			<div class="price">
			<span class="st">цена:</span><strong>{{ product.variants.first.price | money }}</strong>
			</div>
          <div class="button"><a href="{{product.url}}">
            
            <form action="{{ cart_url }}" method="post">
          {% unless product.variants.size > 1 %} <input type="hidden" class="qty quantity_input" name="quantity" size="3" value="1" /> {% endunless %}     
          <input type="hidden" name="variant_id" value="{{ product.variants.first.id }}" />
              <img width="109" height="44" title=" Add to Cart " alt="Add to Cart" src="{{'button_add_to_cart2.png' | asset_url }}"  />
          {% if product.available %}
            {% if product.variants.size > 1 %}
              
              
        <!--  <input type="button" value="Купить" class="buy_button"
              onclick="document.location.href='{{product.url}}'" />-->
            {% else %}
      <!--    <input type="submit" class="buy_button buy" value="КУПИТЬ" />-->
            {% endif %}
          {% else %}
          
            {% if settings.order_button %}
              {% if product.variants.size > 1 %}
     <!--     <input type="button" value="Под заказ" class="buy_button order_button" onclick="document.location.href='{{product.url}}'" />-->
              {% else %}
       <!--   <input type="submit" class="buy buy_button order_button" value="ПОД ЗАКАЗ" />-->
              {% endif %}   
            {% else %}
      <!--    <input type="submit" disabled="disabled" class="buy_button" value="КУПИТЬ" />-->
            {% endif %}
          {% endif %}
        </form>
            
            
            </a></div>
</div>
</div>
</div></div>
{% endif %}